package com.foreknow.demo5;

/**
 * 如何调用同一个类中的不同的构造器
 * 语法：this(参数)  注意：参数相当于实际参数
 */
public class Emp {
    public Emp(){

    };
    public Emp(String name){

    };
    public Emp(int age,String school,String name){

    };

    public static void main(String[] args) {
        Emp emp = new Emp(30,"foreknow","tom");
    }
}

